package com.ruoyi.system.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 章节管理对象 qt_chapter
 * 
 * @author zqq
 * @date 2021-11-16
 */
public class QtChapter extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String chapterId;

    /** 章节名 */
    @Excel(name = "章节名")
    private String chapterName;

    /** 父id（默认0） */
    @Excel(name = "父id", readConverterExp = "默=认0")
    private String  chapterParentId;

    /** 课程id */
    @Excel(name = "课程id")
    private String courseId;

    /** 备用字符串 */
    private String chapterStr;

    /** 备用整数 */
    private String chapterInt;
    //课程名称
    private String courseName;
    /** 课程管理信息 */
    private List<QtCourse> qtCourseList;
    private String video;

    public String getVideo() {
        return video;
    }

    public void setVideo(String video) {
        this.video = video;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public void setChapterId(String chapterId)
    {
        this.chapterId = chapterId;
    }

    public String getChapterId() 
    {
        return chapterId;
    }
    public void setChapterName(String chapterName) 
    {
        this.chapterName = chapterName;
    }

    public String getChapterName() 
    {
        return chapterName;
    }
    public void setChapterParentId(String  chapterParentId)
    {
        this. chapterParentId =  chapterParentId;
    }

    public String getChapterParentId()
    {
        return  chapterParentId;
    }
    public void setCourseId(String courseId) 
    {
        this.courseId = courseId;
    }

    public String getCourseId() 
    {
        return courseId;
    }
    public void setChapterStr(String chapterStr) 
    {
        this.chapterStr = chapterStr;
    }

    public String getChapterStr() 
    {
        return chapterStr;
    }
    public void setChapterInt(String chapterInt) 
    {
        this.chapterInt = chapterInt;
    }

    public String getChapterInt() 
    {
        return chapterInt;
    }

    public List<QtCourse> getQtCourseList()
    {
        return qtCourseList;
    }

    public void setQtCourseList(List<QtCourse> qtCourseList)
    {
        this.qtCourseList = qtCourseList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("chapterId", getChapterId())
            .append("chapterName", getChapterName())
            .append(" chapterParentId", getChapterParentId())
            .append("courseId", getCourseId())
            .append("chapterStr", getChapterStr())
            .append("chapterInt", getChapterInt())
            .append("qtCourseList", getQtCourseList())
            .toString();
    }
}
